package com.springsummer.information.green.beans;

//import org.springframework.beans.factory.support.BeanDefinitionRegistry;

import java.util.Collection;

public interface BeanDefinitionReader {

    //Spring 核心概念 和 BeanDefinitionReader 介绍 https://developer.aliyun.com/article/1237079

    //XmlBeanDefinitionReader,PropertiesBeanDefinitionReader，AnnotatedBeanDefinitionReader,ClassPathBeanDefinitionScanner
    //AnnotationConfigApplicationContext
    //ConfigurationClassPostProcessor
    //ConfigurationClassBeanDefinitionReader


    BeanDefinitionRegistry getBeanDefinitionRegistry();


    int loadBeanDefinitions(String location) throws Exception;


    Collection<BeanDefinition> loadBeanDefinitionsInfo(String location) throws Exception;

}
